import { CHANGE_INPUT_VALUE , CLICK_CHANGE , DELETE_ITEM , GET_LIST } from './actionTypes';

export const clickChangeAction = ()=>({
    type: CLICK_CHANGE
})
export const deleteItemAction = (index)=>({
    type: DELETE_ITEM,
    index
})
export const changeInputValueAction = (value)=>({
    type: CHANGE_INPUT_VALUE,
    value
})

export const getListAction = (data)=>({
    type: GET_LIST,
    data
})